package com.atguigu.gulimall.gulimallorder.feign;

import com.atguigu.gulimall.gulimallorder.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/11/24 0024 16:22
 * Note:
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    @GetMapping(value = "/currentUserCartItems")
    List<OrderItemVo> getCurrentCartItems();
}
